package com.owner.biz.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Service;

import com.owner.biz.PremissionRoleBiz;
import com.owner.dao.PremissionRoleDao;
import com.owner.entity.PremissionRole;
@Service("premissionRoleBiz")
@Scope("prototype")
public class PremissionRoleBizImpl implements PremissionRoleBiz{
	@Autowired
	private PremissionRoleDao premissionRoleDao;

	public int updatePremissionRole(int pid, int ok) {
		// TODO Auto-generated method stub
		return premissionRoleDao.updatePremissionRole(pid, ok);
	}

	public PremissionRole checkBox(int premissionId) {
		// TODO Auto-generated method stub
		return premissionRoleDao.checkBox(premissionId);
	}

    

}
